#pragma once
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#define MODE 0666
#define SIZE 1024

typedef struct _FILE{
    int _fileno;
    char buffer[SIZE];
    int pos;
}_FILE;

_FILE* _fopen(const char* name, const char* mode);

int _fwrite(const char* s,size_t size,size_t count,_FILE* name);

int _fclose(_FILE* name);

